package com.snail.apis;

import com.snail.model.pojo.mall.BizProduct;
import com.snail.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "learn-mall",value = "learn-mall")
public interface ProductApi {

    @GetMapping("/mall/product/selectById")
     Result selectById(@RequestParam Integer productId);
}
